<?php
declare(strict_types=1);

namespace App\Controller\Backend;

use App\Logic\AdminUserLogic;
use Hyperf\HttpServer\Annotation\AutoController;
use Psr\Http\Message\ResponseInterface;

#[AutoController(prefix: '/sign', server: 'backend')]
class SignController extends AbstractController
{
    /**
     * 签到日志
     * @return ResponseInterface
     */
    public function lists(): ResponseInterface
    {
        $input = $this->request->all();
        return $this->apiReturn(200, 'succ', AdminUserLogic::logSign($input));
    }
}